package com.mms.pojo;

import javax.persistence.*;
import java.io.Serializable;
/**
 * Created by dangz on 2017/5/18/018.
 */
@Embeddable
public class SysRoleOperate implements Serializable {
    private Long menu;
    private String op;

    public SysRoleOperate(Long menu, String op) {
        this.menu = menu;
        this.op = op;
    }

    public SysRoleOperate() {}

    @Column(name = "MENU", nullable = false)
    public Long getMenu() {
        return this.menu;
    }

    public void setMenu(Long menu) {
        this.menu = menu;
    }

    @Column(name = "OP", nullable = false, length = 50)
    public String getOp() {
        return this.op;
    }

    public void setOp(String op) {
        this.op = op;
    }
}
